<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" name="order_no" value="{$row[order_no]}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><i class="text-muted">*</i>订单号:</label>
        <div class="col-xs-12 col-sm-8">
            <span class="form-control">{$row.order_no}</span>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><i class="text-muted">*</i>物流公司:</label>
        <div class="col-xs-12
        col-sm-8">
            {:build_select('delivery_code', $deliverys, [], [
            'class' => 'form-control',
            ])}
        </div>
    </div>

    <div class="form-group">
        <label for="delivery_sn" class="control-label col-xs-12 col-sm-2"><i class="text-muted">*</i>运单号:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="delivery_sn" name="delivery_sn" value="{$row.delivery_sn}" data-rule="required" />
        </div>
    </div>

    <div class="form-group hidden layer-footer">
        <div class="col-xs-2"></div>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>